package demo5;

/**
 * Created by Administrator on 2017/4/5.
 */
//: ChocolateChip.java
// Can't access friendly member
// in another class
public class ChocolateChip extends Cookie {
    public ChocolateChip() {
        System.out.println(
                "ChocolateChip constructor");
    }

    public static void main(String[] args) {
        ChocolateChip x = new ChocolateChip();
        //! x.foo(); // Can't access foo
    }
} ///:~
